package com.xfp.pojo.dto;

import com.xfp.pojo.common.SetTimeAndUser;
import com.xfp.pojo.vo.PageVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserDto extends SetTimeAndUser {

    private Long id;

    @ApiModelProperty(value = "用户名",required = true)
    private String userName;

    @ApiModelProperty(value = "角色id",required = true)
    private Long roleId;

    @ApiModelProperty(value = "手机号",required = true)
    private String mobile;

    @ApiModelProperty(value = "所属区域id",required = true)
    private Long regionId;

    @ApiModelProperty(value = "所属区域名称",required = true)
    private String regionName;

    @ApiModelProperty(value = "启用状态",required = true)
    private Boolean status;

    @ApiModelProperty(value = "头像url",required = true)
    private String image;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUser;
    private Long updateUser;



}
